class Woman:
    def __init__(self, name):
        self.name = name
        self.__age = 13

    def __eat(self):
        print("吃KFC")


if __name__ == '__main__':
    xiao_hua = Woman("小花")
    # 直接访问会报错
    print(xiao_hua.__age)
    print(xiao_hua.__eat())

    # 在实际的开发中并不推荐这样使用
    print(xiao_hua._Woman__age)
    print(xiao_hua._Woman__eat())
